//******************************************************************************
// @File: cyzSteppingAction.hh
// @Author: Cyz
// @Date: 2020年 5月 4日 星期一 22时15分03秒 CST
// @Description: 
//		Definition of the cyzSteppingAction class
//******************************************************************************

#ifndef cyzSteppingAction_h
#define cyzSteppingAction_h 1

#include "G4UserSteppingAction.hh"
#include "cyzDetectorConstruction.hh"
#include "globals.hh"
#include "G4ThreeVector.hh"

class cyzEventAction;

/// Stepping action class
/// 

class cyzSteppingAction : public G4UserSteppingAction
{
  public:
    cyzSteppingAction(cyzEventAction* eventAction,
			 								cyzDetectorConstruction* detector);
    virtual ~cyzSteppingAction();

    // method from the base class
    virtual void UserSteppingAction(const G4Step*);

  private:
		cyzDetectorConstruction* fDetectorConstruction;
    cyzEventAction* fEventAction;
		G4double fEdep;
		G4ThreeVector fPoint;
};

//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......

#endif
